package com.lry.rpc.starter.util;

import java.lang.reflect.Array;

public abstract class ObjectUtils {
    public ObjectUtils() {
    }

    public static <T> T[] of(T... values) {
        return values;
    }

    public static <T> T[] emptyArray(Class<T> componentType) {
        return (T[]) Array.newInstance(componentType, 0);
    }
}
